package com.household.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * Created By wanzhen
 * 2023. 2023/4/6. 11:26
 */

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum OrderDeleteEnum {
    /**
     * 订单撤销
     */
    CANCEL("订单撤销", 1),
    /**
     * 手动删除
     */
    MANUAL("手动删除", 2),
    /**
     * 系统删除
     */
    SYSTEM("系统删除", 3);

    private String name;

    @EnumValue
    private int type;
}
